package cc.ucanuup.common.support.base;

public class Msg {

	public Msg(){

	}
	public Msg(boolean status,String code,Object msg){
		this.status = status;
		this.code = code;
		this.msg = msg;
	}
	/**
	 * 返回状态 true 为成功 false 为失败
	 */
	protected boolean status = true;
	/**
	 * 错误编码
	 */
	protected String code = "200";
	/**
	 * 错误信息
	 */
	protected Object msg;

	public boolean isStatus() {

		return status;
	}

	public void setStatus(boolean status) {

		this.status = status;
	}

	public String getCode() {

		return code;
	}

	public void setCode(String code) {

		this.code = code;
	}

	public Object getMsg() {

		return msg;
	}

	public void setMsg(Object msg) {

		this.msg = msg;
	}
}